package com.zhss.eshop.pay.domain;


import java.util.Date;
import com.zhss.eshop.common.domain.AbstractObject;

/**
 * 支付交易流水表(PayTransaction)实体类
 *
 * @author 
 * @since 2021-05-15 16:24:10
 */
public class PayTransactionDO extends AbstractObject {

    /**
    * 主键，自增长
    */
    private Long id;
    /**
    * 订单Id
    */
    private Long orderInfoId;
    /**
    * 订单编号
    */
    private String orderNo;
    /**
    * 订单应付金额
    */
    private Double payableAmount;
    /**
    * 用户账号
    */
    private Long userAccountId;
    /**
    * 用户支付账号
    */
    private String userPayAccount;
    /**
    * 交易渠道，1-微信，2-支付宝
    */
    private Integer transactionChannel;
    /**
    * 交易流水号，第三方支付平台生成
    */
    private String transactionNumber;
    /**
    * 第三方平台完成支付的时间
    */
    private Date finishedPayTime;
    /**
    * 交易渠道返回的状态 码
    */
    private Integer responseCode;
    /**
    * 支付状态：1：待支付；2-支付成功；3-支付失败；4：交易关闭
    */
    private Integer status;
    /**
    * 创建时间
    */
    private Date gmtCreate;
    /**
    * 更新时间
    */
    private Date gmtModified;

    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    
    public Long getOrderInfoId() {
        return orderInfoId;
    }

    public void setOrderInfoId(Long orderInfoId) {
        this.orderInfoId = orderInfoId;
    }
    
    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    
    public Double getPayableAmount() {
        return payableAmount;
    }

    public void setPayableAmount(Double payableAmount) {
        this.payableAmount = payableAmount;
    }
    
    public Long getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(Long userAccountId) {
        this.userAccountId = userAccountId;
    }
    
    public String getUserPayAccount() {
        return userPayAccount;
    }

    public void setUserPayAccount(String userPayAccount) {
        this.userPayAccount = userPayAccount;
    }
    
    public Integer getTransactionChannel() {
        return transactionChannel;
    }

    public void setTransactionChannel(Integer transactionChannel) {
        this.transactionChannel = transactionChannel;
    }
    
    public String getTransactionNumber() {
        return transactionNumber;
    }

    public void setTransactionNumber(String transactionNumber) {
        this.transactionNumber = transactionNumber;
    }
    
    public Date getFinishedPayTime() {
        return finishedPayTime;
    }

    public void setFinishedPayTime(Date finishedPayTime) {
        this.finishedPayTime = finishedPayTime;
    }
    
    public Integer getResponseCode() {
        return responseCode;
    }

    public void setResponseCode(Integer responseCode) {
        this.responseCode = responseCode;
    }
    
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    
    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
    
    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

}